package models;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import play.db.jpa.Model;

/**
 * 我的书房留言
 * @author w`Yan
 *
 */

@Entity
@Table(name = "MyBook_Msg")
public class MyBookMsg extends Model  {

	@Column(name = "mem_id")
	public Long memid ; //会员id
	
	@Column(name = "tomem_id")
	public Long tomemid; //留言者id
	
	@Column(name = "content")
	public String content ; //留言内容
	
	@Column(name = "msgtime")
	public Date msgtime ; //留言时间
	
}
